<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ManagerAviso
 *
 * @author jhonny
 */
class ManagerAvisoCurso extends ManagerAviso {

    /**
     * Constructor
     * @param type $sfActions 
     */
    public function __construct($sfActions) {
        parent::__construct($sfActions);
    }


    protected function generateArrayParameters(sfWebRequest $request) {

        $params = array();
        $params = parent::generateArrayParameters($request);
        if ($request->isMethod('post')) {
            $this->addElementPostParams($request, $params, UrlParameter::curso);
        } else {
            $this->addElementUrlParams($request, $params, UrlParameter::curso);
        }

        return $params;
    }

}

?>
